package com.xx.springboot.improve.service;

import com.xx.springboot.improve.domain.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * author: XiongXin
 * description:
 * time: 2017/3/8.
 */
public interface UserService {

    User getUserById(String id);

    Page<User> findAllUsersByPage(User user, Pageable pageable);

}
